package com.zahb.qadx.model;

import java.util.List;


public class AssessmentBean {


    /**
     * startRow : 0
     * navigatepageNums : [1]
     * prePage : 0
     * hasNextPage : false
     * nextPage : 0
     * pageSize : 4
     * endRow : 3
     * list : [{"examResult":"不合格","examName":null,"id":1,"userScore":12,"openTime":"2020-10-30","passScore":60},{"examResult":"不合格","examName":null,"id":3,"userScore":10,"openTime":"2020-11-02","passScore":60},{"examResult":"不合格","examName":null,"id":67,"userScore":8,"openTime":"2020-11-23","passScore":60},{"examResult":"不合格","examName":null,"id":68,"userScore":8,"openTime":"2020-11-23","passScore":60}]
     * pageNum : 1
     * navigatePages : 8
     * total : 4
     * navigateFirstPage : 1
     * pages : 1
     * size : 4
     * isLastPage : true
     * hasPreviousPage : false
     * navigateLastPage : 1
     * isFirstPage : true
     */
    private int startRow;
    private List<Integer> navigatepageNums;
    private int prePage;
    private boolean hasNextPage;
    private int nextPage;
    private int pageSize;
    private int endRow;
    private List<ListEntity> list;
    private int pageNum;
    private int navigatePages;
    private int total;
    private int navigateFirstPage;
    private int pages;
    private int size;
    private boolean isLastPage;
    private boolean hasPreviousPage;
    private int navigateLastPage;
    private boolean isFirstPage;

    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }

    public void setNavigatepageNums(List<Integer> navigatepageNums) {
        this.navigatepageNums = navigatepageNums;
    }

    public void setPrePage(int prePage) {
        this.prePage = prePage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public void setEndRow(int endRow) {
        this.endRow = endRow;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public void setNavigatePages(int navigatePages) {
        this.navigatePages = navigatePages;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public void setNavigateFirstPage(int navigateFirstPage) {
        this.navigateFirstPage = navigateFirstPage;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public void setIsLastPage(boolean isLastPage) {
        this.isLastPage = isLastPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public void setNavigateLastPage(int navigateLastPage) {
        this.navigateLastPage = navigateLastPage;
    }

    public void setIsFirstPage(boolean isFirstPage) {
        this.isFirstPage = isFirstPage;
    }

    public int getStartRow() {
        return startRow;
    }

    public List<Integer> getNavigatepageNums() {
        return navigatepageNums;
    }

    public int getPrePage() {
        return prePage;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public int getNextPage() {
        return nextPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public int getEndRow() {
        return endRow;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public int getPageNum() {
        return pageNum;
    }

    public int getNavigatePages() {
        return navigatePages;
    }

    public int getTotal() {
        return total;
    }

    public int getNavigateFirstPage() {
        return navigateFirstPage;
    }

    public int getPages() {
        return pages;
    }

    public int getSize() {
        return size;
    }

    public boolean isIsLastPage() {
        return isLastPage;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public int getNavigateLastPage() {
        return navigateLastPage;
    }

    public boolean isIsFirstPage() {
        return isFirstPage;
    }

    public class ListEntity {
        /**
         * examResult : 不合格
         * examName : null
         * id : 1
         * userScore : 12.0
         * openTime : 2020-10-30
         * passScore : 60.0
         */
        private int id;
        private String openTime;
        private String examName;
        private double userScore;
        private double passScore;
        private String examResult;

        public int relationshipType;
        public int certificateStatus;
        public int userCertificateId;


        public void setExamResult(String examResult) {
            this.examResult = examResult;
        }

        public void setExamName(String examName) {
            this.examName = examName;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setUserScore(double userScore) {
            this.userScore = userScore;
        }

        public void setOpenTime(String openTime) {
            this.openTime = openTime;
        }

        public void setPassScore(double passScore) {
            this.passScore = passScore;
        }

        public String getExamResult() {
            return examResult;
        }

        public String getExamName() {
            return examName;
        }

        public int getId() {
            return id;
        }

        public double getUserScore() {
            return userScore;
        }

        public String getOpenTime() {
            return openTime;
        }

        public double getPassScore() {
            return passScore;
        }
    }
}
